package com.tem.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作流节点定义
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("flow_node_execute_history")
@ApiModel(value="FlowNodeExecuteHistory对象", description="工作流节点定义")
public class FlowNodeExecuteHistory implements Serializable {
    private static final long serialVersionUID=1097865342311456L;
    @ApiModelProperty(value = "流程节点定义表")
    @TableId(value = "flow_node_execute_history_id", type = IdType.AUTO)
    private Long flowNodeExecuteHistoryId;

    @ApiModelProperty(value = "工作流id")
    @TableField("flow_node_execute_id")
    private Long flowNodeExecuteId;

    @ApiModelProperty(value = "执行时间")
    @TableField("exe_time")
    private LocalDateTime exeTime;

    @ApiModelProperty(value = "1通过 0弃权审批  -3退回给第三个节点")
    @TableField("exe_index")
    private Integer exeIndex;

    @ApiModelProperty(value = "系统生成内容： xx经理审核通过")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "审批备注 150字以内")
    @TableField("memo")
    private String memo;


}
